<@override name="link">
</@override>
<@override name="body">
    <body class="gray-bg">
        <div class="col-sm-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>${appsType.title}</h5>
                    <div class="ibox-tools">
                        <#list fileTypes as type>
                            <a href="javascript:;" data-id="${appsType.id}" data-handler="${type.handler}" data-code="${type.code}" class="btn btn-xs btn-primary">${type.message}</a>
                        </#list>
                </div>
                </div>
                <div class="ibox-content">
                    <div class="row form-group">
                        <script type="text/plain" id="content"><#if template??>${template}</#if></script>
                    </div>
                </div>
            </div>
        </div>
    </body>
</@override>
<@override name="script">
<script type="text/javascript" src="${base}/resources/admin/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/ueditor/ueditorModoule.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/modoule.js"></script>
<script type="text/javascript">
    var leipiEditor = UE.getEditor('content',{
        //allowDivTransToP: false,//阻止转换div 为p
        toolleipi:true,//是否显示，设计器的 toolbars
        textarea: 'design_content',
        //这里可以选择自己需要的工具按钮名称,此处仅选择如下五个
        toolbars:[[
            'fullscreen', 'source', '|','bold', 'italic', 'underline', 'fontborder', 'strikethrough',  'removeformat', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist','|', 'fontfamily', 'fontsize', '|', 'indent', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|',   'horizontal',  'spechars',  '|', 'inserttable', 'deletetable',  'mergecells',  'splittocells']],
        //focus时自动清空初始化时的内容
        //autoClearinitialContent:true,
        //关闭字数统计
        wordCount:false,
        //关闭elementPath
        elementPathEnabled:false,
        //默认的编辑区域高度
        initialFrameHeight:300
        ///,iframeCssUrl:"css/bootstrap/css/bootstrap.css" //引入自身 css使编辑器兼容你网站css
        //更多其他参数，请参考ueditor.config.js中的配置项
    });
    function returnHtml(){
        console.log('this is 90');
         var str= leipiEditor.getContent();
         return str;
    }
Modoule.index();
</script>
</@override>
<@extends name="../base/main.html"/>